﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

//Them thu vien
using KaraokeManagementDAO;
using KaraokeManagementDTO;

namespace KaraokeManagementBUS
{
    public class DonViTinhBUS
    {
        private DonViTinhDAO dao=new DonViTinhDAO();
        public List<DonViTinhDTO> layDanhSachDonViTinh()
        {
            return dao.layDanhSachDonViTinh();
        }

        public DonViTinhDTO layThongTinDonViTinh(int MaDonViTinh)
        {
            return dao.layThongTinDonViTinh(MaDonViTinh);
        }

        public Boolean themDonViTinh(DonViTinhDTO dto)
        {
            return dao.themDonViTinh(dto);
        }

        public Boolean xoaDonViTinh(int MaDonViTinh)
        {
            return dao.xoaDonViTinh(MaDonViTinh);
        }

        public Boolean capNhatDonViTinh(DonViTinhDTO dto)
        {
            return dao.capNhatDonViTinh(dto);
        }

    }
}
